package com.hspedu.extend_.Exercise;

public class Test {
    public static void main(String[] args) {
        PC pc = new PC("AMD rx5800","金士顿 DDR4 8G 3200GHZ"
                        ,"金士顿 SSD 512GB" ,"戴尔");
        pc.printInfo();
        System.out.println("====NotePad====");
        NotePad notePad = new NotePad("AMD rx3600x", "七彩虹 DDR4 8G 3200GHZ"
                , "三星 SSD 512GB", "华硕");
        notePad.printInfo();
    }
}
